package net.xdclass.xdclass.mapper;

import net.xdclass.xdclass.model.pojo.Video;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface VideoMapper {
    List<Video> listVideo();

    Video findById(@Param("video_id") Integer videoId);

    Video findDetailById(@Param("user_id") int videoId);
}
